package icu.shaoyayu.common.cloud.sentinel;

import icu.shaoyayu.common.utll.R;
import icu.shaoyayu.common.utll.ReturnUtil;
import icu.shaoyayu.common.utll.exception.CustomExceptionType;

/**
 * @author shaoyayu
 * @date 2022/2/25
 * @apiNote
 */
public abstract class FallbackBase {

    public R<Object> unifiedFuse(){
        // TODO 记录访问熔断日志
        return ReturnUtil.error(CustomExceptionType.SERVICE_FUSE);
    }

}
